
/**		
 * 
 *	uk.co.lmfm.guppy.view.components.events.ProjectViewEvent
 *	
 *	@version 1.00 | Jan 22, 2010
 *	@author Justin Windle
 *  
 **/
 
package uk.co.lmfm.guppy.view.components.events 
{
	import uk.co.lmfm.guppy.model.vo.ProjectVO;

	import flash.events.Event;

	/**
	 * ProjectViewEvent
	 */
	public class ProjectViewEvent extends Event 
	{
		//	----------------------------------------------------------------
		//	CONSTANTS
		//	----------------------------------------------------------------

		public static const CREATE_PROJECT : String = "createProject";

		//	----------------------------------------------------------------
		//	PUBLIC MEMBERS
		//	----------------------------------------------------------------

		public var project : ProjectVO;

		//	----------------------------------------------------------------
		//	CONSTRUCTOR
		//	----------------------------------------------------------------

		public function ProjectViewEvent(type : String, bubbles : Boolean = false, cancelable : Boolean = false, project : ProjectVO = null)
		{
			super(type, bubbles, cancelable);
			this.project = project;
		}

		//	----------------------------------------------------------------
		//	PUBLIC METHODS
		//	----------------------------------------------------------------

		override public function clone() : Event
		{
			return super.clone();
		} 
	}
}
